var oActity = document.getElementById("actity");
var oYou = document.getElementById("you");
var aLiii = oYou.getElementsByTagName("li");
var oAngleleft = document.getElementById("angleleft");
var oAngleright= document.getElementById("angleright");
//var speed=1190;
//var timer = null;
var width = 3600;
oAngleright.onclick = function(){

	oYou.style.left = oYou.offsetLeft-1200+"px";
	if(oYou.offsetLeft==-width){
		oYou.style.left=0;
	}
	
}
oAngleleft.onclick = function(){
	if(oYou.offsetLeft==0){
		oYou.style.left=-width+"px";
	}
	
	oYou.style.left = oYou.offsetLeft+1200+"px";
	
}






//oYou.style.width= aLiii[0].offsetWidth*aLiii.length+'px';
//timer = setInterval(move,3000);
//
//oAngleleft.onclick = function(){
//	speed = -1190;
//	
//}
//
//oAngleright.onclick = function(){
//	speed = 1190;
//	
//}
//
//oActity.onmouseover =function(){
//	clearInterval(timer);
//}
//oActity.onmouseout =function(){
//	timer = setInterval(move,3000);
//}
//
//function move(){
//	if(oYou.offsetLeft<-oYou.offsetWidth/2){
//		oYou.style.left=0;
//	}
//	if(oYou.offsetLeft>0){
//		oYou.style.left =-oYou.offsetWidth/2+'px';
//	}
//	oYou.style.left = oYou.offsetLeft+speed+'px';
//	
//}
